package com.foreknow.demo6;

public class Animals {
    String name;
    int age;
    int  ext;
public void run(){
    System.out.println("跑得快");
    }
    public void eat(int i){
        System.out.println("啊啊啊"+i);
        return;
    }
    public static void main(String[] args) {
        Animals p = new Animals();
        p.name="熊大";
        p.age=12;
        p.ext=1;
        System.out.println(p.name+"1111"+p.age+"1111"+p.ext);
        p.eat(1);
        p.run();
    }
}
